package dao.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * FirmwareInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "firmware_info", catalog = "cloud_ifw")
public class FirmwareInfo extends BasePojo implements java.io.Serializable {

	// Fields

	private String deviceVersion;
	private String deviceModel;
	private String versionPath;
	private String versionMd5;

	@Override
	public Object getEntityId() {
		// TODO Auto-generated method stub
		return deviceVersion;
	}

	// Property accessors
	@Id
	@Column(name = "device_version", unique = true, nullable = false, length = 32)
	public String getDeviceVersion() {
		return this.deviceVersion;
	}

	public void setDeviceVersion(String deviceVersion) {
		this.deviceVersion = deviceVersion;
	}

	@Column(name = "device_model", nullable = false, length = 32)
	public String getDeviceModel() {
		return this.deviceModel;
	}

	public void setDeviceModel(String deviceModel) {
		this.deviceModel = deviceModel;
	}

	@Column(name = "version_path", nullable = false, length = 128)
	public String getVersionPath() {
		return this.versionPath;
	}

	public void setVersionPath(String versionPath) {
		this.versionPath = versionPath;
	}

	@Column(name = "version_md5", nullable = false, length = 64)
	public String getVersionMd5() {
		return this.versionMd5;
	}

	public void setVersionMd5(String versionMd5) {
		this.versionMd5 = versionMd5;
	}

}